package com.ytjj.qmyx.admin.mapper;

import com.ytjj.qmyx.admin.model.ImConfigInfo;
import com.ytjj.qmyx.admin.model.ImConfigInfoExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface ImConfigInfoMapper {
    long countByExample(ImConfigInfoExample example);

    int deleteByExample(ImConfigInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ImConfigInfo record);

    int insertSelective(ImConfigInfo record);

    List<ImConfigInfo> selectByExample(ImConfigInfoExample example);

    ImConfigInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ImConfigInfo record, @Param("example") ImConfigInfoExample example);

    int updateByExample(@Param("record") ImConfigInfo record, @Param("example") ImConfigInfoExample example);

    int updateByPrimaryKeySelective(ImConfigInfo record);

    int updateByPrimaryKey(ImConfigInfo record);

    int updateById(@Param("id") Integer id, @Param("offFlag") Boolean offFlag, @Param("userId") Integer userId);

    List<ImConfigInfo> selectAll();
}